package com.design.pattern.builder.chain;

/**
 * @version 1.0
 * @author: CRM_SYSTEM
 * @date: 2022/9/17 18:04
 * @Description:
 */
public class TestBuilder {

    public static void main(String[] args) {
        CourseBuilder builder=new CourseBuilder();
        Course course = builder.addName("设计模式")
                .addPpt("【PPT课件】")
                .addNote("笔记")
                .builder();

        StringBuilder stringBuilder=new StringBuilder();
        stringBuilder.append("");
        System.out.println(course);
    }
}
